//
//  WebViewCell.h
//  JGShop
//
//  Created by BB on 2017/9/23.
//  Copyright © 2017年 ike. All rights reserved.
//

#import <UIKit/UIKit.h>
#define DefaultFileName @"XieYi"

typedef void(^LoadWebBlock)(BOOL isSuccess, CGFloat webContentHeight);

@interface WebViewCell : UITableViewCell <UIWebViewDelegate>

@property (weak, nonatomic) IBOutlet UIWebView *webView;

@property (copy, nonatomic)LoadWebBlock loadBlock;

- (void)loadHTMLString:(NSString *)htmlString;

- (void)loadHTTPWeb:(NSString*)URLString;

- (void)loadWebViewTypeBlock:(LoadWebBlock)newBlock;


+ (NSString *)trimmedStringWithSpecialString:(NSString*)string;

+ (NSString *)htmlSpecialChars:(NSString*)string;

@end
